package com.hmdp.properties;

import jdk.nashorn.internal.objects.annotations.Property;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;



@Component
@Data
@ConfigurationProperties(prefix = "snowflake")
public class SnowflakeProperties {
    private long workerId;
    private long datacenterId;
}


